﻿namespace com.crownpack.SharePoint
{
    using System;

    public class ContentTypeDefnEventArgs : EventArgs
    {
        #region Constructors

        public ContentTypeDefnEventArgs( string name, string group, string description, string contentTypeId )
            : this(name, group, description, contentTypeId, string.Empty)
        {
        }

        public ContentTypeDefnEventArgs( string name, string group, string description, string contentTypeId, string exceptionMessage )
        {
            Name = name;
            Group = group;
            Description = description;
            ContentTypeId = contentTypeId;
            ExceptionMessage = exceptionMessage;
        }

        #endregion Constructors

        #region Properties

        public string ContentTypeId
        {
            get;
            private set;
        }

        public string Description
        {
            get;
            private set;
        }

        public string ExceptionMessage
        {
            get;
            private set;
        }

        public string Group
        {
            get;
            private set;
        }

        public string Name
        {
            get;
            private set;
        }

        #endregion Properties
    }
}